<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
            text-align: center;
        }
        input[type="text"] {
            width: 400px;
            height: 20px;
            background-color: #1d5996;
        }
        button {
            margin-left: 5px;
        }
        .content {
            margin-top: 20px;
        }
        .footer {
            margin-top: 20px;
        }
        .right {
            float: right;
        }
        .header {
            clear: right;
        }
        #btn {
            background-color: blue;
            border-radius: 5px;
            color: white;
            border: none;
            height: 25px;
            margin-right: 20px;
        }
    </style>
</head>
<body>
<div class="right">
    <a href="#">Gmail</a>
    <a href="#">图片</a>
    <button id="btn">登录</button>
</div>

<div class="header">
    <div class="gg">
        <img src="logo.png" alt="">
    </div>

    <div class="link">
        <a href="#">全部</a>
        <a href="#">全部</a>
        <a href="#">全部</a>
        <a href="#">全部</a>
        <a href="#">全部</a>
        <a href="#">全部</a>
        <a href="#">全部</a>
        <a href="#">全部</a>
    </div>
</div>

<div class="content">
    <div class="search">
        <input type="text" name="" id=""><button>谷歌一下</button>
    </div>

    <div class="baike">
        <a href="#">全部</a>
        <a href="#">全部</a>
        <a href="#">全部</a>
        |
        <a href="#">全部</a>
        <a href="#">更多>></a>
    </div>

    <div class="ad">
        <img src="ic.jpg" alt="">
        <a href="#">全心全意为人民服务</a>
    </div>
</div>

<div class="footer">
    <div class="index">
        <a href="#">把谷歌设为首页</a>
    </div>

    <div class="zj">
        <a href="#">广告</a>
        |
        <a href="#">全部</a>
        |
        <a href="#">全部</a>
        |
        <a href="#">全部</a>
        |
        <a href="#">更多>></a>
    </div>

    <div class="right2">
        ©2018 Google 提供
    </div>
</div>
</body>
</html>